package com.example.jinyongjie.test_opengles.objects;

/**
 * Created by jinyongjie on 17/3/23.
 */
public class ObjectBuilder {
    static interface  DrawCommand
    {
        void draw();
    }

    private static  final int FLOATS_PER_VERTEX = 3;
    private final float[] m_vertexData;
    private int m_offset = 0;
    private ObjectBuilder(int sizeInVertices)
    {
        m_vertexData = new float[sizeInVertices*FLOATS_PER_VERTEX];
    }
    private static int sizeOfCircleInVertices(int numPoints)
    {
        return 1+ (numPoints + 1);
    }
    private static int sizeOfOpenCylinderInVertices(int numPoints)
    {
        return 2*(numPoints + 1);
    }
}
